package meng.study.webservice.service;

import javax.xml.ws.Endpoint;

public class WebServicePublish {

	public static void main(String[] args) {
		// http://xxxx?wsdl
		String address = "http://localhost:9999/HelloWebService/meng";
		Endpoint.publish(address, new HelloWebService());
		System.out.println("发布成功,地址:");
		System.out.println(address + "?wsdl");
	}

}
